<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>    TFC-Trotri Foundation Classes &raquo; \tfc\log\LogDb
</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

            <link href="../css/template.css" rel="stylesheet" media="all"/>
    
            <!--[if lt IE 9]>
        
        <![endif]-->
        <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
        <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
        <script src="../js/bootstrap.js" type="text/javascript"></script>
        <script src="../js/template.js" type="text/javascript"></script>
        <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
    
            <link rel="shortcut icon" href="../img/favicon.ico"/>
        <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
        <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
        <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
    </head>
<body>

        <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span> <span class="icon-bar"></span>
                    <span class="icon-bar"></span> </a>
                <a class="brand" href="http://www.trotri.com/">Trotri官网</a><a class="brand" href="../index.html">TFC-Trotri Foundation Classes</a>

                <div class="nav-collapse">
                    <ul class="nav">
                        <li class="dropdown">
                            <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                API Documentation <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                                                    <li><a>Namespaces</a></li>
                                                                        <li><a href="../namespaces/tfc.html">tfc</a></li>
                                                                                                                                </ul>
                        </li>
                        <li class="dropdown" id="charts-menu">
                            <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                Charts <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../graph_class.html">
                                        <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown" id="reports-menu">
                            <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                Reports <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../errors.html">
                                         
                                    </a>
                                </li>
                                <li>
                                    <a href="../markers.html">
                                        <i class="icon-list-alt"></i>&#160;Markers
                                    </a>
                                </li>
                                <li>
                                    <a href="../deprecated.html">
                                        <i class="icon-list-alt"></i>&#160;Deprecated
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="go_to_top">
            <a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>
        </div>
    </div>
    
    <div id="___" class="container">
        <noscript>
            <div class="alert alert-warning">
                Javascript is disabled; several features are only available if Javascript is enabled.
            </div>
        </noscript>

        
            <style>
        .deprecated h2 {
            text-decoration: line-through;
        }
    </style>
    <div class="row">
        <div class="span4">
                    <div class="btn-group view pull-right" data-toggle="buttons-radio">
        <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
        <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
    </div>
    <div class="btn-group visibility" data-toggle="buttons-checkbox">
        <button class="btn public active" title="Show public elements">Public</button>
        <button class="btn protected" title="Show protected elements">Protected</button>
        <button class="btn private" title="Show private elements">Private</button>
        <button class="btn inherited active" title="Show inherited elements">Inherited</button>
    </div>

        <ul class="side-nav nav nav-list">
        <li class="nav-header">
            <i class="icon-custom icon-method"></i> Methods
            <ul>
                                                                                                    <li class="method public">
        <a href="#method___construct" title="__construct :: 构造方法：初始化数据库链接类、Log表名、是否自动创建Log表">
            <span class="description">构造方法：初始化数据库链接类、Log表名、是否自动创建Log表</span><pre>__construct</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_shutdown" title="shutdown :: 关闭文件指针或数据库的逻辑等，需要通过子类重写">
            <span class="description">关闭文件指针或数据库的逻辑等，需要通过子类重写</span><pre>shutdown</pre>
        </a>
    </li>

                                                                                                                                                                <li class="method public">
        <a href="#method_createLogTable" title="createLogTable :: 通过表名，创建日志表">
            <span class="description">通过表名，创建日志表</span><pre>createLogTable</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method___call" title="__call :: 魔术方法：以日志级别作为方法名时，会自动跳转到此方法">
            <span class="description">魔术方法：以日志级别作为方法名时，会自动跳转到此方法</span><pre>__call</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_log" title="log :: 为日志内容添加“级别”和“时间”字段，通过调用子类打印日志的方法，打印日志">
            <span class="description">为日志内容添加“级别”和“时间”字段，通过调用子类打印日志的方法，打印日志</span><pre>log</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_format" title="format :: 格式化日志内容">
            <span class="description">格式化日志内容</span><pre>format</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_getPriorities" title="getPriorities :: 获取所有的日志级别">
            <span class="description">获取所有的日志级别</span><pre>getPriorities</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_addPriority" title="addPriority :: 添加一个日志级别">
            <span class="description">添加一个日志级别</span><pre>addPriority</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_hasPriority" title="hasPriority :: 判断日志级别是否已经存在">
            <span class="description">判断日志级别是否已经存在</span><pre>hasPriority</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_getLeftDelimiter" title="getLeftDelimiter :: 获取分隔键值的左分隔符">
            <span class="description">获取分隔键值的左分隔符</span><pre>getLeftDelimiter</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_setLeftDelimiter" title="setLeftDelimiter :: 设置分隔键值的左分隔符">
            <span class="description">设置分隔键值的左分隔符</span><pre>setLeftDelimiter</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_getRightDelimiter" title="getRightDelimiter :: 获取分隔键值的右分隔符">
            <span class="description">获取分隔键值的右分隔符</span><pre>getRightDelimiter</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method_setRightDelimiter" title="setRightDelimiter :: 设置分隔键值的右分隔符">
            <span class="description">设置分隔键值的右分隔符</span><pre>setRightDelimiter</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method___destruct" title="__destruct :: 析构方法：关闭文件指针或数据库等">
            <span class="description">析构方法：关闭文件指针或数据库等</span><pre>__destruct</pre>
        </a>
    </li>

                                                </ul>
        </li>
        <li class="nav-header protected">» Protected
            <ul>
                                                                                                                                                    <li class="method protected inherited">
                            <a href="#method__write" title="_write :: 实现打印具体日志的逻辑，需要通过子类重写">
                                <span class="description">实现打印具体日志的逻辑，需要通过子类重写</span><pre>_write</pre>
                            </a>
                        </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </ul>
        </li>
        <li class="nav-header private">» Private
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </ul>
        </li>
        <li class="nav-header">
            <i class="icon-custom icon-constant"></i> Constants
            <ul>
                            </ul>
        </li>
    </ul>


        </div>

        <div class="span8">
            <div class="element class">
                <h1>LogDb</h1>
                <small style="display: block; text-align: right">
                                            Extends <a href="../classes/tfc.log.Log.html">\tfc\log\Log</a>
                                                        </small>
                <p class="short_description">LogDb class file
数据库方式处理日志</p>
                <div class="details">
                    <div class="long_description">
                        
                    </div>
                    <table class="table table-bordered">
                                                                                    <tr>
                                    <th>
                                        author
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>宋欢 <a href="mailto:trotri@yeah.net">trotri@yeah.net</a></p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        version
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>$Id: LogDb.php 1 2013-03-29 16:48:06Z huan.song $</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        package
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>tfc.log</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        since
                                                                            </th>
                                    <td>
                                                                                    1.0
                                                                                
                                    </td>
                                </tr>
                                                                                                                                                                                                                                    </table>

                    <h3><i class="icon-custom icon-method"></i> Methods</h3>
                                                                <a id="method___construct"></a>
                        <div class="element clickable method public  method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
                            <h2>构造方法：初始化数据库链接类、Log表名、是否自动创建Log表</h2>
                            <pre>__construct(\tfc\db\Driver $driver, string $table = null, boolean $autoCreateLogTable = false) </pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$driver</h4>
                                                <code><a href="../classes/tfc.db.Driver.html">\tfc\db\Driver</a></code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$table</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$autoCreateLogTable</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_shutdown"></a>
                        <div class="element clickable method public  method_shutdown inherited" data-toggle="collapse" data-target=".method_shutdown .collapse">
                            <h2>关闭文件指针或数据库的逻辑等，需要通过子类重写</h2>
                            <pre>shutdown() : void</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method__write"></a>
                        <div class="element clickable method protected  method__write inherited" data-toggle="collapse" data-target=".method__write .collapse">
                            <h2>实现打印具体日志的逻辑，需要通过子类重写</h2>
                            <pre>_write(array $logs) : void</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                <span class="label">abstract</span>                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$logs</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_createLogTable"></a>
                        <div class="element clickable method public  method_createLogTable" data-toggle="collapse" data-target=".method_createLogTable .collapse">
                            <h2>通过表名，创建日志表</h2>
                            <pre>createLogTable(string $table) : boolean</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$table</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method___call"></a>
                        <div class="element clickable method public  method___call inherited" data-toggle="collapse" data-target=".method___call .collapse">
                            <h2>魔术方法：以日志级别作为方法名时，会自动跳转到此方法</h2>
                            <pre>__call(string $priority, array $events) : void</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$priority</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$events</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_log"></a>
                        <div class="element clickable method public  method_log inherited" data-toggle="collapse" data-target=".method_log .collapse">
                            <h2>为日志内容添加“级别”和“时间”字段，通过调用子类打印日志的方法，打印日志</h2>
                            <pre>log(string|array $events, string $priority) : void</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果日志级别不存在，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$events</h4>
                                                <code>string|array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$priority</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_format"></a>
                        <div class="element clickable method public  method_format inherited" data-toggle="collapse" data-target=".method_format .collapse">
                            <h2>格式化日志内容</h2>
                            <pre>format(array $events) : string</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$events</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getPriorities"></a>
                        <div class="element clickable method public  method_getPriorities inherited" data-toggle="collapse" data-target=".method_getPriorities .collapse">
                            <h2>获取所有的日志级别</h2>
                            <pre>getPriorities() : array</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>array</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_addPriority"></a>
                        <div class="element clickable method public  method_addPriority inherited" data-toggle="collapse" data-target=".method_addPriority .collapse">
                            <h2>添加一个日志级别</h2>
                            <pre>addPriority(string $priority) : \tfc\log\Log</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$priority</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.log.Log.html">\tfc\log\Log</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_hasPriority"></a>
                        <div class="element clickable method public  method_hasPriority inherited" data-toggle="collapse" data-target=".method_hasPriority .collapse">
                            <h2>判断日志级别是否已经存在</h2>
                            <pre>hasPriority(string $priority) : boolean</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$priority</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getLeftDelimiter"></a>
                        <div class="element clickable method public  method_getLeftDelimiter inherited" data-toggle="collapse" data-target=".method_getLeftDelimiter .collapse">
                            <h2>获取分隔键值的左分隔符</h2>
                            <pre>getLeftDelimiter() : string</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setLeftDelimiter"></a>
                        <div class="element clickable method public  method_setLeftDelimiter inherited" data-toggle="collapse" data-target=".method_setLeftDelimiter .collapse">
                            <h2>设置分隔键值的左分隔符</h2>
                            <pre>setLeftDelimiter(string $leftDelimiter) : \tfc\log\Log</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$leftDelimiter</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.log.Log.html">\tfc\log\Log</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getRightDelimiter"></a>
                        <div class="element clickable method public  method_getRightDelimiter inherited" data-toggle="collapse" data-target=".method_getRightDelimiter .collapse">
                            <h2>获取分隔键值的右分隔符</h2>
                            <pre>getRightDelimiter() : string</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setRightDelimiter"></a>
                        <div class="element clickable method public  method_setRightDelimiter inherited" data-toggle="collapse" data-target=".method_setRightDelimiter .collapse">
                            <h2>设置分隔键值的右分隔符</h2>
                            <pre>setRightDelimiter(string $rightDelimiter) : \tfc\log\Log</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$rightDelimiter</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.log.Log.html">\tfc\log\Log</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method___destruct"></a>
                        <div class="element clickable method public  method___destruct inherited" data-toggle="collapse" data-target=".method___destruct .collapse">
                            <h2>析构方法：关闭文件指针或数据库等</h2>
                            <pre>__destruct() : void</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                    </div>
                            </div>
                        </div>
                    
                    
                                                                <h3><i class="icon-custom icon-property"></i> Properties</h3>
                                                    <a id="property__driver"> </a>
                            <div class="element clickable property  protected property__driver" data-toggle="collapse" data-target=".property__driver .collapse">
                                <h2>of tfc\db\Driver</h2>
                                <pre>_driver : \tfc\log\instance</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>of tfc\db\Driver</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>\tfc\log\instance</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__table"> </a>
                            <div class="element clickable property  protected property__table" data-toggle="collapse" data-target=".property__table .collapse">
                                <h2>日志表名</h2>
                                <pre>_table : string</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>日志表名</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__autoCreateLogTable"> </a>
                            <div class="element clickable property  protected property__autoCreateLogTable" data-toggle="collapse" data-target=".property__autoCreateLogTable .collapse">
                                <h2>是否自动创建Log表</h2>
                                <pre>_autoCreateLogTable : boolean</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>是否自动创建Log表</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>boolean</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__priorities"> </a>
                            <div class="element clickable property  protected property__priorities inherited" data-toggle="collapse" data-target=".property__priorities .collapse">
                                <h2>日志级别</h2>
                                <pre>_priorities : array</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>日志级别</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>array</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__leftDelimiter"> </a>
                            <div class="element clickable property  protected property__leftDelimiter inherited" data-toggle="collapse" data-target=".property__leftDelimiter .collapse">
                                <h2>key value left delimiter</h2>
                                <pre>_leftDelimiter : string</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>key value left delimiter</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__rightDelimiter"> </a>
                            <div class="element clickable property  protected property__rightDelimiter inherited" data-toggle="collapse" data-target=".property__rightDelimiter .collapse">
                                <h2>key value right delimiter</h2>
                                <pre>_rightDelimiter : string</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>key value right delimiter</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__arrayProcessFunc"> </a>
                            <div class="element clickable property  protected property__arrayProcessFunc inherited" data-toggle="collapse" data-target=".property__arrayProcessFunc .collapse">
                                <h2>如果日志值是数组，将数组转换成字符串的函数</h2>
                                <pre>_arrayProcessFunc : string</pre>
                                <div class="labels">
                                    <span class="label">inherited</span>                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>如果日志值是数组，将数组转换成字符串的函数</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                            </div>
            </div>
            <a id="\tfc\log\LogDb"></a>
            <ul class="breadcrumb">
                <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
                    
    
    <li><span class="divider">\</span><a href="../namespaces/tfc.log.html">log</a></li>

                <li class="active"><span class="divider">\</span><a href="../classes/tfc.log.LogDb.html">LogDb</a></li>
            </ul>
        </div>
    </div>

    </div>

        <footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
            <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
            generated on Sat, 27 Dec 2014 06:16:38 +0000.<br/>
    </footer>
    </body>
</html>
